// import Vue from "vue"
// import router from "vue-router"
import { createRouter,createWebHistory } from "vue-router"
// import Login from "../views/login.vue"
import FlexXHS from "../views/FlexXHS.vue"
const router = createRouter({
    history: createWebHistory(),//没有#
    routes: [
        {
            path: '/',
            redirect:'/flex-xhs'
        },
        {
            path: '/flex-xhs',
            component:FlexXHS
        },
    ]   
})
// router.beforeEach((to, from, next) => {
//     // console.log(to);
//     next()
// })
// router.afterEach((to, from) => {
//     // console.log(from);
// })

export default router